package com.ship.dispatch.bean.fob;

import com.baomidou.mybatisplus.annotation.TableName;
import com.ship.common.core.base.Joinable;
import com.ship.common.core.mapping.Label;
import com.ship.common.core.mapping.TableColumn;
import com.ship.dispatch.bean.BaseBean;
import lombok.Data;

/**
 *@title Record
 *@description
 *@author yl
 *@create 2023/12/13 0013
 */
@Data
@TableName("sp_data_change_record")
public class Record extends BaseBean implements Joinable {
    public Record(){}
    public Record(String fieldName,String oldValue,String newValue){
        this.fieldName = fieldName;
        this.newValue = newValue;
        this.oldValue = oldValue;
    }
    @Label(value = "属性名称")
    @TableColumn
    private String fieldName;
    @Label(value = "旧值")
    @TableColumn
    private String oldValue;
    @Label(value = "新值")
    @TableColumn
    private String newValue;
    @Label(value = "备注")
    @TableColumn
    private String remark;
    @Label(value = "操作类型")
    @TableColumn
    private String type;
    @Label(value = "业务id")
    @TableColumn
    private String serviceId;
    @Label(value = "方案id")
    @TableColumn
    private Long schemeDetailId;
    @Label(value = "方案id")
    @TableColumn
    private String nodeKey;
    @Label(value = "批次id")
    @TableColumn
    private String bacthId;
    @Label(value = "流程实例id")
    @TableColumn
    private String proceeInstanceId;

    @Override
    public String getLabel() {
        return null;
    }

    @Override
    public String getValue() {
        return null;
    }
}
